package callback.wait;


public class CallbackTest {

    public static void main(String[] args) {
        Student student = new Ricky();
        Teacher teacher = new Teacher(student);
        System.out.println("start-----");
        teacher.askQuestion();
        System.out.println("main 做另外的事情");
        System.out.println("main 另外的事情也已经做完了");
    }

}

